/**
 * Created by Administrator on 2018/12/31.
 */
package com.game.fg.service;
class FGConst {
    //客户端请求协议
    static final int C2S_EnterGame = 1000;//进入游戏
    static final int C2S_StartGame = 1001;//开始游戏
    static final int C2S_PlayGame = 1002;//玩游戏出拳
    static final int C2S_ExitGame = 1003;//离开游戏
    static final int C2S_Exchange = 1004;//请求兑换金币
    //服务器返回协议
    static final int S2C_EnterGame = 2000;//进入游戏返回
    static final int S2C_StartGame = 2001;//开始游戏返回
    static final int S2C_PlayGame = 2002;//玩游戏出拳返回
    static final int S2C_ExitGame = 2003;//离开游戏返回
    static final int S2C_Exchange = 2004;//请求兑换金币返回
    static final int S2C_SystemNotice = 2005;//系统公告
    static final int S2C_KickOff = 2006;//踢除下线
    //认证服务器协议
    static final int S2AUTH_LoadServerInfo = 0x2012;//加载服务器信息
    static final int AUTH2S_LoadServerInfo = 0x2013;//加载服务器信息返回
    static final int S2AUTH_UserLogin = 0x1001;//用户登陆
    static final int AUTH2S_UserLogin = 0x1002;//用户登陆返回
    static final int AUTH2S_UserInfo = 0x1007;//用户登陆成功之后返回用户信息
    static final int S2AUTH_DeleteOnlineState = 0x1008;//回写用户数据
    static final int S2AUTH_WriteUserData = 0x1009;//回写用户数据
    static final int S2AUTH_WriteUserMoney = 0x1012;//回写用户金币
    static final int AUTH2S_WriteUserMoney = 0x1013;//回写用户金币返回
    //管理服务协议
    static final int M2S_MsgNotice = 0x1005;//向游戏服分发数据同步消息
    //心跳包
    static final int CMD_KEEP_ALIVE = 0xF0F1;
    //金币操作来源
    static final int MoneySrc_QTT_ADD = 172023259;//兑换成趣头条币
    static final int MoneySrc_QTT_SUB = 172023260;//趣头条兑换游戏币
    static final int MoneySrc_GAME_WIN = 112023261;//猜拳赢
    static final int MoneySrc_GAME_LOSE = 112023262;//猜拳输
    //MQ日志事件
    static final short EVENT_GameLogin = 1008;//游戏玩家登录
    static final short EVENT_GameLeave = 1009;//游戏玩家离开
    static final short EVENT_GameCoinWriteDb = 1010;//写分日志
    static final short EVENT_ConsumeHelpCoin = 1011;//共济金消耗日志

}
